package com.mySpringMvc.web.servlet;

import java.util.Locale;

/**
 * @program: mySSM
 * @description: 视图解析器接口
 * @author:wjp
 * @create: 2025-02-13 18:25
 **/
public interface ViewResolver {
    /**
     * 将逻辑视图名转为物理视图名，并返回视图对象
     * @param viewName
     * @param locale
     * @return
     * @throws Exception
     */
    View resolveViewName(String viewName, Locale locale) throws Exception;
}
